import './style.css'

// 引入Element plus样式
import "element-plus/dist/index.css";

import 'animate.css';
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
// 需要全局引入一些组件，如ElScrollbar，不然一些下拉项样式有问题
import { ElLoading } from 'element-plus'

import 'default-passive-events'
import 'uno.css'

import { router } from './router'
import { createPinia } from 'pinia'
import { Icon } from '@/components/Icon'
import { createApp } from 'vue';
import App from './App.vue';

const pinia = createPinia()
const app = createApp(App)
app.use(router)
app.use(ElementPlus, { locale: zhCn })
// app.use(ElLoading)
// app.component(ElScrollbar.name, ElScrollbar)
app.component('Icon', Icon)

app.use(pinia)
app.mount('#app')